<template>
  <div class="topHeader">
    <div class="left" @click="$emit('clickLeft')">&lt;</div>
    <div class="center">
      <slot name="center">面经列表</slot>
    </div>
    <div class="right">
      <slot name="right">超级长的搜索</slot>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.topHeader {
  background-color: orange;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  .center {
    position: absolute;
    left: 50%;
    translate: -50%;
  }
  .left {
    visibility: hidden;
  }
}
</style>
